//
//  ReminderDataSource.h
//  Pocket Doctor alpha version
//
//  Created by Sherif, Yin, Taylor, Jacob, Anna, Mike on 11-11-22.
//  Copyright (c) 2011 __Sytjam__. All rights reserved.
//
//Class Description: Stores reminder information to feed into the calendar.
//
//Known Bugs: none.
//
//Incomplete Feature: Loading medicine view when choosing a medicine in the table view.
//                    This feature couldnt be implemented because the UITableViewDelegate wouldn't
//                    work simply by putting in the function; rather more complex editing has to take place
//

#import "Kal/src/Kal.h"

@class CalReminder;
@class AppDelegate;

@interface ReminderDataSource : NSObject <KalDataSource>
{
    AppDelegate *aD;
    
    
    NSMutableArray *items;
    NSMutableArray *reminders;
}

@property (retain, nonatomic) AppDelegate *aD;

+ (ReminderDataSource *)dataSource;
- (CalReminder *)reminderAtIndexPath:(NSIndexPath *)indexPath;
- (NSArray *)remindersOfTheDay:(NSDate *)fromDate to:(NSDate *)toDate;
- (NSInteger) getWeekday: (NSDate *) dateOfInterest;

@end
